package com.kawins.supers.message.socket;

import org.springframework.web.socket.PongMessage;
import org.springframework.web.socket.TextMessage;

/**
 * @author rankai
 *         createTime 2017-12-2017/12/27 9:22
 */
public interface HandlerService {

    void opened(Object object);

    void handleTextMsg(Object object, TextMessage message);

    void handlePongMsg(Object object, PongMessage message);

    void error(Object object);

    void closed(Object object);

}
